package com.hd.trans.network.bean;


/**
 * Author:  yang
 * Date:    2019/12/16 10:56
 * Desc:    翻译返回数据
 */
public class TranslationResponse extends DataResponse {

    private String txtcontent;//翻译后的内容

    private String tasktag; //任务标识，以供二次下载使用 下载方法使用 /api/v4/taskdown

    private boolean isdanger;//表示翻译内容是否违规


    public String getTxtcontent() {
        return txtcontent;
    }

    public void setTxtcontent(String txtcontent) {
        this.txtcontent = txtcontent;
    }

    public String getTasktag() {
        return tasktag;
    }

    public void setTasktag(String tasktag) {
        this.tasktag = tasktag;
    }

    public boolean isIsdanger() {
        return isdanger;
    }

    public void setIsdanger(boolean isdanger) {
        this.isdanger = isdanger;
    }

    @Override
    public String toString() {
        return "TranslationResponse{" +
                "txtcontent='" + txtcontent + '\'' +
                ", tasktag='" + tasktag + '\'' +
                ", isdanger=" + isdanger +
                '}';
    }
}
